package com.smart_environmental_protection.dao;

import com.smart_environmental_protection.pojo.News;
import com.smart_environmental_protection.pojo.Notice;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface NewsDao {
    @Select({"select * from s_news"})
    List<News> NewsList();

}
